Snail Bait reduces the size of the runner's bounding box with the revised didCollide() method shown in Listing 7. SnailBait通过修改的didCollide()方法缩小了跑步小人的边界框的大小,如清单7中所示。
In the sections that follow, see how to refine Snail Bait's collision detection by modifying the runner's bounding box and partitioning the game's space. 在以下各节中,将介绍如何通过修改跑步小人的边界框和分割游戏的空间,细化SnailBait的碰撞检测。
Reducing the runner's bounding box makes Snail Bait's collision detection more accurate because it eliminates false collisions. 缩小跑步小人的边界框,会使SnailBait的碰撞检测更准确,因为它消除了错误碰撞。
A hot runner injection mould for plastic box 塑料盒热流道注射模设计